package cn.supermarket.service.iservice;

import cn.supermarket.pojo.dto.ReceivingDTO;
import cn.supermarket.pojo.vo.ReceivingVO;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * 提货单
 */
public interface IReceivingService {

    /**
     * 添加提货单
     */
    void addReceiving(ReceivingDTO receivingDTO);
    /**
     * 修改备注/可见/作废
     */
    void updateRemark(Long id,String remark);

    void updateIsDisplay(Long id,Integer isDisplay);

    void updateIsCancel(Long id,Integer isCancel);
    /**
     * 根据单号/日期/提货人查询
     */
    List<ReceivingVO> selectByOrderId(Long orderId);
    List<ReceivingVO> selectByDate(Date Date);
    List<ReceivingVO> selectByConsignee(String returner);
    /**
     * 导出提货单
     */
}
